gdk: Use application_id as xdg_shell's app_id if available
authorGuido Günther <agx@sigxcpu.org>
Thu, 2 Aug 2018 09:03:41 +0000 (11:03 +0200)
committerGuido Günther <agx@sigxcpu.org>
Thu, 2 Aug 2018 09:03:41 +0000 (11:03 +0200)
commit72ec8963d7df0e39f688838e42445c869e4875c9
tree6df29f6f1f60f3248ba8fccb700cfb21339558cc
parent50d5666db04f54d0fd6f777348af6c6533c00b2f
gdk: Use application_id as xdg_shell's app_id if available

This (manually) reverts commit e1fd87728dd841cf1d71025983107765e395b152

This makes sure xdg_shell's app_id matches the DBus name of the the
appliation when using GtkApplication. It also allows the compositor to
derive the desktop file ID from the app_id:

   https://cgit.freedesktop.org/wayland/wayland-protocols/tree/stable/xdg-shell/xdg-shell.xml?id=298d888ac718eae57ff2245d373d4327074506ea#n598

Closes #653
gdk/wayland/gdksurface-wayland.c